<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<c:set var="currentUser" value="${sessionScope.get('currentUser')}"></c:set>
<html class="no-js">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <title>软件管理平台</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width">
    <link href="${ctx}/statics/css/common/common.css" rel='stylesheet'/>
    <%--<script src="../statics/assets/jquery/jquery-3.1.0.js"></script>--%>
    <script src="${ctx}/statics/assets/jquery/jquery-3.1.0.min.js"></script>
    <script src="${ctx}/statics/js/common.js"></script>

    <script type="text/javascript" language="javascript">

        $(document).ready(function(){
            /**
             * 点击刷新ifame
             */
            $("#downloadNav").click(function(){
                $("#iframepage").attr("src","${ctx}/pages/download.jsp");
            });

            $("#uploadNav").click(function(){
                $("#iframepage").attr("src","${ctx}/softwareUpload/upload");
            });

            $("#reviewNav").click(function(){
                $("#iframepage").attr("src","${ctx}/pages/review.jsp");
            });

        });

    </script>

</head>
<body>
<div class="main">
    <div class="main-top">
        <ul class="main-nav clearfix">
            <li class="nav-item fl">
                <a id="downloadNav" class="nav-btn" href="javascript:;">首页</a>
            </li>
            <li class="nav-item fl">
                <a id="uploadNav" class="nav-btn" href="javascript:;">上传</a>
            </li>
            <li class="nav-item fl">
                <a id="reviewNav" class="nav-btn" href="javascript:;">审核</a>
            </li>
        </ul>
    </div>
    <div class="main-content w980">
        <iframe id="iframepage" src="${ctx}/pages/download.jsp" style="width:100%;height:100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe>
    </div>
</div>
</body>
</html>